<?php
$mod_right_topic_hot = MBGlobal::getAdminRecomm()->getMod(2);

$hot_topic_arr = MBGlobal::getAdminRecomm()->showHotTopic(0, $mod_right_topic_hot['list'][0]['p2'], 1);
$link="index.php?m=topic&k=";

if($mod_right_topic_hot['list'][0]['status']){
?>
<table width="288" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td height="25" colspan="3">&nbsp;</td>
	</tr>
	<tr>
		<td width="7">&nbsp;</td>
		<td>
			<table width="272" height="43" border="0" cellpadding="0" cellspacing="0" background="style/images/login/rightsidebar.gif">
				<tr>
					<td width="45">&nbsp;</td>
					<td width="185" align="center" valign="baseline" class="f18"><?php echo $mod_right_topic_hot['list'][0]['name'];?></td>
					<td width="42" align="left"><a href="#" target="_blank" class="whter"></a></td>
				</tr>
			</table>
		</td>
		<td width="7">&nbsp;</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td align="center" valign="top">
			<table width="250" border="0" cellpadding="0" cellspacing="0" background="style/images/login/line.gif">
				<?php
				foreach ($hot_topic_arr['list'] as $k=>$h){
				?>
				<tr>
					<td width="42" height="31" align="center"><img src="style/images/login/icon_<?php echo $k+1;?>.gif" width="19" height="13" /></td>
					<td width="208" align="left"><a href="<?php echo $link.$h["text"]?>" target="_blank" class="f6"><?php echo $h["text"];?></a></td>
				</tr>
				<?php
				}
				?>
			</table>
		</td>
		<td>&nbsp;</td>
	</tr>
</table>
<?php
}
?>